package fr.ul.ade.prime.ui;

import android.os.Bundle;

import com.actionbarsherlock.app.SherlockPreferenceActivity;

import fr.ul.ade.R;
import fr.ul.ade.prime.model.AdeWebOptions;

public class Preference extends SherlockPreferenceActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
    	this.setTheme(AdeWebOptions.getTheme(this)) ;
        //Change l'icone de la barre d'action
        this.getSupportActionBar().setIcon(R.drawable.ic_launch_settings) ;
        super.onCreate(savedInstanceState) ;

        this.addPreferencesFromResource(R.xml.preferences) ;
    }// onCreate(Bundle)
    
}// class Preference